﻿#ifndef WORDCLOUNDFRAME_H
#define WORDCLOUNDFRAME_H

#include <QWidget>
#include <QPainter>
#include <QPaintEvent>
#include "wordcloundmanager.h"

class WordCloundFrame : public QWidget
{
    Q_OBJECT
public:
    explicit WordCloundFrame(QWidget *parent = nullptr);

signals:

public slots:
protected:
    void paintEvent(QPaintEvent *e);
private:
    WordCloundManager wordClound;
    QStringList testData;
    QList< QList<QVector2D> > drawArray;
};

#endif // WORDCLOUNDFRAME_H
